<?php
/**
 * Created by PhpStorm.
 * User: hui
 * Date: 16/8/7
 * Time: 12:32
 */
namespace app\index\model;

use think\Model;

class Card extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'u_card';
    // 设置当前模型的数据库连接
    protected $connection = 'db_config2';

}